projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1551ad4
)
GtkBox: The center widget can be NULL
author
Timm Bäder
<mail@baedert.org>
Tue, 1 Dec 2015 12:36:21 +0000
(13:36 +0100)
committer
Timm Bäder
<mail@baedert.org>
Tue, 1 Dec 2015 12:41:35 +0000
(13:41 +0100)
Propagates to GtkActionBar.
gtk/gtkactionbar.c
patch
|
blob
|
history
gtk/gtkbox.c
patch
|
blob
|
history
diff --git
a/gtk/gtkactionbar.c
b/gtk/gtkactionbar.c
index dd8aaf43ed0501d598e88cfb6aa79d49279a8992..0d3f93b3380ded46f505f4ce52ed842661d4161e 100644
(file)
--- a/
gtk/gtkactionbar.c
+++ b/
gtk/gtkactionbar.c
@@
-359,7
+359,7
@@
gtk_action_bar_set_center_widget (GtkActionBar *action_bar,
*
* Retrieves the center bar widget of the bar.
*
- * Returns: (transfer none)
: the center #GtkWidget
.
+ * Returns: (transfer none)
(nullable): the center #GtkWidget or %NULL
.
*
* Since: 3.12
*/
diff --git
a/gtk/gtkbox.c
b/gtk/gtkbox.c
index 945f928fa5d9cfd0d37772ef643345a089c221f9..51eb5d4fd3f731d24b6b9f3e7bbc58404fba21e2 100644
(file)
--- a/
gtk/gtkbox.c
+++ b/
gtk/gtkbox.c
@@
-2655,7
+2655,8
@@
gtk_box_set_center_widget (GtkBox *box,
*
* Retrieves the center widget of the box.
*
- * Returns: (transfer none): the center widget
+ * Returns: (transfer none) (nullable): the center widget
+ * or %NULL in case no center widget is set.
*
* Since: 3.12
*/